{{/* pages layout message */}}
{{ define "main" }}
<div class="message-content">
  {{ $SingleDisable  := .Params.Disable_comment }} {{/* 页面内控制是否禁用Disqus */}}
  {{ if ne $SingleDisable true }}
  {{- partial "disqus.html" . -}}
  {{ end }}
</div>
{{ end }}

{{ define "widget" }}
<aside class="widget-info">
  {{ partial "widget/widget-author.html" . }}
  
  {{ partial "widget/widget-categories.html" . }}

  {{ partial "widget/widget-tags.html" . }}
</aside>
{{ end }}